package com.hujun.common.util.qrcode;

import java.io.OutputStream;

public class TwoDimensionCodeUtil {

	/**
	 * 二维码生成
	 * @param content
	 * @param outputStream
	 */
	public static void createQrCode(String content,OutputStream outputStream){
		TwoDimensionCode tdc = new TwoDimensionCode();
		tdc.encoderQRCode(content, outputStream);
	}
	
	public static void createQrCode(String content,OutputStream outputStream,String imageType){
		TwoDimensionCode tdc = new TwoDimensionCode();
		tdc.encoderQRCode(content, outputStream,imageType);
	}
}
